FROM adoptopenjdk/openjdk8-openj9:alpine-slim

MAINTAINER 919374296@qq.com

RUN mkdir -p /blade

WORKDIR /blade

EXPOSE 9090

ADD target/docker-demo.jar ./app.jar

ENTRYPOINT ["java", "-Djava.security.egd=file:/dev/./urandom", "-jar", "app.jar"]
#
ARG envType=dev
#
ENV envType ${envType}
#
#CMD ["docker run docker-demo"]










